package com.nts;

import java.io.PrintWriter;

public class Printer {
    public static PrintWriter mock;

    public static void print(final String p) {
        if (mock != null) {
            mock.println(p);
        } else {
            System.out.println(p);
        }
    }
}
